home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 38
/
Amiga Format CD38 (1999-03-15)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-04].iso
/
-screenplay-
/
hd_installers
/
jstsw_usr
/
install-english
< prev
next >
Wrap
Text File
|
1999-02-08
|
2KB
|
83 lines
(set bin-dest
(askdir (prompt "Where would you like the binary files (JST, disk imagers, auxiliary files) installed?\n"
"A drawer will NOT be created\n\nThe location should be in your path (e.g. C:)")
(help @askdir-help)
(default "C:")
(newpath)
)
)
(if (exists "Work:" (noreq) )
(set @default-dest "Work:")
(if (exists "SYS:Work" (noreq) )
(set @default-dest "SYS:Work")
)
(set @default-dest "SYS:")
)
;ask the user to select a directory to install the other files
(set default-dest
(tackon (askdir (prompt "Where would you like the auxiliary files (docs,examples) installed?\n"
"A drawer called JST will be created.")
(help @askdir-help)
(default @default-dest)
(newpath)
)
"JST"
)
)
(set @default-dest default-dest)
;create the selected directory
(makedir @default-dest
(infos)
)
(set doc-dest (tackon @default-dest "docs"))
(makedir doc-dest
(infos)
)
(if (exists "sources" )
(
(set source-dest (tackon @default-dest "sources"))
(makedir source-dest
(infos)
)
(copyfiles (source "sources")
(dest source-dest)
(all)
)
)
)
(copyfiles (source "bin")
(dest bin-dest)
(all)
)
(copyfiles (source "docs/engonly")
(dest doc-dest)
(all)
)
(copyfiles (source "docs/english")
(dest doc-dest)
(all)
)
; cleanup
(delete (tackon bin-dest "README"))
(delete (tackon bin-dest "README.info"))